zephyr: tests: userspace: add test for cache ops via syscalls (depends on PR10119)#10259
Draft
kv2019i wants to merge 6 commits intothesofproject:mainfrom
Draft
zephyr: tests: userspace: add test for cache ops via syscalls (depends on PR10119)#10259kv2019i wants to merge 6 commits intothesofproject:mainfrom
kv2019i wants to merge 6 commits intothesofproject:mainfrom
Conversation
SYS_INIT() API has changed, initialisation functions now have to return an integer error code. Fix building SOF boot-test. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Fix a recent VMH test build breakage and enable it on newer ACE platforms. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
PTL supports user-space, add a boot test for it. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Re-enable boot-testing now that the DSP panic has been fixed. Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Add simple tests that call cache invalidate and flush from a user-space thread. This does not currently have any negative tests (attempt to invalidate an buffer the user space thread does not have access to), as these currently result in kernel oops on xtensa. Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
6211b64 to
868ddf5
Compare
Collaborator
Author
|
V2:
|
Member
|
Btw, will our Ztests give us perf data for each call i.e. can we print out cycles in test results ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add test for using zephyr/cache.h from user-space. Contains commits from #10119 , so marked as draft until dependency PR is first merged.